<html>
<head>
	<script src="__COMMON__/js/jquery.js"></script>
	<script src="__ADMIN__/TaskMenu/TaskMenu.js"></script>
	<script>
	TaskMenu.setStyle("__ADMIN__/TaskMenu/Blue/blueStyle.css"); 
	var openHref = function(url){
		parent.window.loading_show();
		parent.window.frames[1].location.href=url;
	        return false;
	}
	window.onload = function()
	{
		TaskMenu.setHeadMenuSpecial(true);
		//TaskMenu.setScrollbarEnabled(true);
		//TaskMenu.setAutoBehavior(false);
		//常用菜单
		<if condition="$_GET['menu_id'] == 'changyong'">
			var taskMenu1 = new TaskMenu("常用菜单");
			<volist name="menu" id="vo" key="k">
				<if condition="$vo['id'] != ''">
				taskMenu1.add(new TaskMenuItem("{$vo['name']}","__ADMIN__/TaskMenu/Image/update.gif","{$vo['url']}"));
				<else/>
				taskMenu1.add(new TaskMenuItem("[{$vo['name']}]","__ADMIN__/TaskMenu/Image/update.gif","{$vo['url']}"));
				</if>
	    	</volist>
	    	taskMenu1.init();
			taskMenu1.setBackground("__ADMIN__/TaskMenu/Image/bg.gif");
		<else/>
		<volist name="menu" id="vo" key="k">
			var taskMenu{$k} = new TaskMenu("{$vo['name']}");
			<volist name="vo['items']" id="value" key="kk">
                    taskMenu{$k}.add(new TaskMenuItem("{$value['name']}","__ADMIN__/TaskMenu/Image/update.gif","{$value['url']}"));
            </volist>
			taskMenu{$k}.init();
			<if condition = "$k eq 1">
			taskMenu{$k}.setBackground("__ADMIN__/TaskMenu/Image/bg.gif");
			</if>
	    </volist>
		</if>
		
	}
	</script>
	<style>
	body {
		overflow-x : hidden;
		overflow-y : scroll;
		font-size:12px;
	}
	.MenuTitle, .MenuTitle_MouseOver, .MenuTitle_Head, .MenuTitle_MouseOver_Head,.MenuItemLabel, .MenuItemLabelDisabled, .MenuItemLabelMouseOver{
		font-size:12px;
	}
	.MenuItemRow .MenuItemLabel{text-decoration:none}
	</style>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
</html>
